import React from 'react'
import '../css/style.css'
import imgSrc from'../images/小熊.jpg'

class NewsCom extends React.Component {
  constructor (props) {
    super(props)
    this.state = {
      imgSrc: '../images/小熊.jpg'
    }
  }
  render () {
    return (
      <div className="contentItem">
        <div className="banner">
          <img alt="banner" src={imgSrc} />
          <h2>疫情追踪</h2>
          <div className="newContent">
            <div className="line"></div>
            <div className="newList">2</div>
          </div>
        </div>
      </div>
    )
  }
}

export default NewsCom
